package com.springboot.learn_sofa_rpc_server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class LearnSofaRpcServerApplication {
    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(LearnSofaRpcServerApplication.class, args);
        RpcService rpcService = context.getBean(RpcService.class);
        rpcService.init();
    }
}
